<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>invoice</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript" src="plug-in/ckeditor_new/ckeditor.js"></script>
  <script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="invoiceController.do?doUpdate" tiptype="1">
					<input id="id" name="id" type="hidden" value="${invoicePage.id }">
					<input id="validFlag" name="validFlag" type="hidden" value="${invoicePage.validFlag }">
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
					<tr>
						<td align="right">
							<label class="Validform_label">
								流水号:
							</label>
						</td>
						<td class="value">
						     	 <input id="serialNumber" name="serialNumber" type="text" style="width: 150px" class="inputxt"  
									               datatype="*"
									                 value='${invoicePage.serialNumber}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">流水号</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								发票额度:
							</label>
						</td>
						<td class="value">
						     	 <input id="invoiceAmount" name="invoiceAmount" type="text" style="width: 150px" class="inputxt"  
									               datatype="*"
									                 value='${invoicePage.invoiceAmount}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">发票额度</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								发票抬头:
							</label>
						</td>
						<td class="value">
						     	 <input id="invoiceTitle" name="invoiceTitle" type="text" style="width: 150px" class="inputxt"  
									               datatype="*"
									                 value='${invoicePage.invoiceTitle}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">发票抬头</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								纳税人识别号:
							</label>
						</td>
						<td class="value">
						     	 <input id="identifyNumber" name="identifyNumber" type="text" style="width: 150px" class="inputxt"  
									               
									                 value='${invoicePage.identifyNumber}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">纳税人识别号</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								收件人:
							</label>
						</td>
						<td class="value">
						     	 <input id="receiverName" name="receiverName" type="text" style="width: 150px" class="inputxt"  
									               datatype="*"
									                 value='${invoicePage.receiverName}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">收件人</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								收件人手机号:
							</label>
						</td>
						<td class="value">
						     	 <input id="receiverMobile" name="receiverMobile" type="text" style="width: 150px" class="inputxt"  
									               datatype="*"
									                 value='${invoicePage.receiverMobile}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">收件人手机号</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								所在地区:
							</label>
						</td>
						<td class="value">
						     	 <input id="area" name="area" type="text" style="width: 150px" class="inputxt"  
									               datatype="*"
									                 value='${invoicePage.area}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">所在地区</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								详细地址:
							</label>
						</td>
						<td class="value">
						     	 <input id="detailAddress" name="detailAddress" type="text" style="width: 150px" class="inputxt"  
									               datatype="*"
									                 value='${invoicePage.detailAddress}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">详细地址</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								发票状态 :
							</label>
						</td>
						<td class="value">
									<%-- <t:dictSelect field="invoiceStatu" type="list"
										typeGroupCode="" defaultVal="${invoicePage.invoiceStatu}" hasLabel="false"  title="发票状态 "></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">发票状态 </label> --%>
							
							<select id="invoiceStatu" name="invoiceStatu" datatype="*">
								<option value="1" <c:if test="${1 eq invoicePage.invoiceStatu}">selected</c:if> >已提交</option>  
  								<option value="2" <c:if test="${2 eq invoicePage.invoiceStatu}">selected</c:if> >取消</option>
  								<option value="3" <c:if test="${3 eq invoicePage.invoiceStatu}">selected</c:if> >已开票</option>
  								<option value="4" <c:if test="${4 eq invoicePage.invoiceStatu}">selected</c:if> >已邮寄</option>
							</select>
						</td>
						<td align="right">
							<label class="Validform_label">
								快递单号:
							</label>
						</td>
						<td class="value">
						     	 <input id="deliveryNo" name="deliveryNo" type="text" style="width: 150px" class="inputxt"  
									               
									                 value='${invoicePage.deliveryNo}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">快递单号</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								用户手机号:
							</label>
						</td>
						<td class="value">
						     	 <input id="userMobile" name="userMobile" type="text" style="width: 150px" class="inputxt"  
									               
									                 value='${invoicePage.userMobile}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">用户手机号</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								创建时间:
							</label>
						</td>
						<td class="value">
									  <input id="createDate" name="createDate" type="text" style="width: 150px" 
						      						class="Wdate" onClick="WdatePicker()"
									                
						      						 value='<fmt:formatDate value='${invoicePage.createDate}' type="date" pattern="yyyy-MM-dd hh:mm:ss"/>'>    
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">创建时间</label>
						</td>
					</tr>
					<%-- <tr>
						<td align="right">
							<label class="Validform_label">
								createPerson:
							</label>
						</td>
						<td class="value">
						     	 <input id="createPerson" name="createPerson" type="text" style="width: 150px" class="inputxt"  
									               
									                 value='${invoicePage.createPerson}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">createPerson</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								updateDate:
							</label>
						</td>
						<td class="value">
									  <input id="updateDate" name="updateDate" type="text" style="width: 150px" 
						      						class="Wdate" onClick="WdatePicker()"
									                
						      						 value='<fmt:formatDate value='${invoicePage.updateDate}' type="date" pattern="yyyy-MM-dd"/>'>    
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">updateDate</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								updatePerson:
							</label>
						</td>
						<td class="value">
						     	 <input id="updatePerson" name="updatePerson" type="text" style="width: 150px" class="inputxt"  
									               
									                 value='${invoicePage.updatePerson}'>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">updatePerson</label>
						</td>
				<td align="right">
					<label class="Validform_label">
					</label>
				</td>
				<td class="value">
				</td>
					</tr> --%>
			</table>
		</t:formvalid>
 </body>
  <script src = "webpage/com/group/invoice/invoice.js"></script>		